<div class="row">
  <div class="col-md-8">
    <div class="form-group">
      <label class="control-label">{{ 'ui.page.manage.contest.edit.basic.name' | translate }}</label>
      <div>
        <input type="text" class="form-control" ng-model="ctrl.contest.name">
      </div>
    </div>
  </div>
  <div class="col-md-4">
    <div class="form-group">
      <label class="control-label">{{ 'ui.page.manage.contest.edit.basic.validator' | translate }}</label>
      <div>
        <select ng-model="ctrl.contest.validator" class="form-control">
          <option value="{{ v.id }}" ng-repeat="v in ctrl.availableValidators">{{ v.name }}</option>
        </select>
      </div>
    </div>
  </div>
</div>
<div class="row">
  <div class="col-md-6">
    <div class="form-group">
      <label class="control-label">{{ 'ui.page.manage.contest.edit.basic.regBegin' | translate }}</label>
      <div class="input-group date">
        <div class="input-group-addon">
          <i class="fa fa-calendar"></i>
        </div>
        <input type="text" date-time format="yyyy-MM-dd HH:mm" class="form-control" ng-model="ctrl.contest.regBegin">
      </div>
    </div>
  </div>
  <div class="col-md-6">
    <div class="form-group">
      <label class="control-label">{{ 'ui.page.manage.contest.edit.basic.regEnd' | translate }}</label>
      <div class="input-group date">
        <div class="input-group-addon">
          <i class="fa fa-calendar"></i>
        </div>
        <input type="text" date-time format="yyyy-MM-dd HH:mm" class="form-control" ng-model="ctrl.contest.regEnd">
      </div>
    </div>
  </div>
</div>
<div class="row">
  <div class="col-md-6">
    <div class="form-group">
      <label class="control-label">{{ 'ui.page.manage.contest.edit.basic.begin' | translate }}</label>
      <div class="input-group date">
        <div class="input-group-addon">
          <i class="fa fa-calendar"></i>
        </div>
        <input type="text" date-time format="yyyy-MM-dd HH:mm" class="form-control" ng-model="ctrl.contest.begin">
      </div>
    </div>
  </div>
  <div class="col-md-6">
    <div class="form-group">
      <label class="control-label">{{ 'ui.page.manage.contest.edit.basic.end' | translate }}</label>
      <div class="input-group date">
        <div class="input-group-addon">
          <i class="fa fa-calendar"></i>
        </div>
        <input type="text" date-time format="yyyy-MM-dd HH:mm" class="form-control" ng-model="ctrl.contest.end">
      </div>
    </div>
  </div>
</div>
